Skip to content

Add first-class Go hosting docs#950

Merged
davidfowl merged 6 commits into
release/13.4from
davidfowl/go-hosting-docs-13-4
May 14, 2026
Merged

Add first-class Go hosting docs#950
davidfowl merged 6 commits into
release/13.4from
davidfowl/go-hosting-docs-13-4

Conversation

@davidfowl
Copy link
Copy Markdown
Contributor

Summary

  • Replace the deprecated CommunityToolkit Go hosting page with first-class Aspire.Hosting.Go guidance.
  • Cover AddGoApp / addGoApp, app directories and package paths, app arguments, module helpers, Delve debugging, publish behavior, private modules, and experimental Go templates.
  • Keep the PR scoped to src/frontend/src/content/docs/integrations/frameworks/go-apps.mdx on release/13.4.

Validation

  • pnpm --dir .\src\frontend exec prettier --check src/content/docs/integrations/frameworks/go-apps.mdx
  • git diff --check
  • pnpm --dir .\src\frontend run check-data
  • pnpm --dir .\src\frontend run test:unit:docs

Note: pnpm --dir .\src\frontend run lint currently fails on release/13.4 in tests/unit/llms-txt-twoslash.vitest.test.ts with existing @typescript-eslint/no-unsafe-* errors unrelated to this docs page.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@davidfowl
Copy link
Copy Markdown
Contributor Author

cc @edmondshtogu

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Member

@IEvangelist IEvangelist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I understand that this is a replacement, we do need to restructure this so that it follows the new pattern we recently implemented. Ideally, this will have a sidebar like:

Go
- Get started
- Set up Go in the AppHost

The get started should answer, "what (intro p)", "why (from broad to aspire specficially)", "how (the pieces fit together)", and then step links out to Modeling Go in the AppHost. And it might be a good idea to even show Connect to Go from a consuming resource, which would explain injected config from env var and how to use them - connection properties, etc.

@davidfowl
Copy link
Copy Markdown
Contributor Author

We need to merge main into release/13.4 first.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@IEvangelist
Copy link
Copy Markdown
Member

We need to merge main into release/13.4 first.

It's still a draft PR, do you want it merged now?

@davidfowl davidfowl marked this pull request as ready for review May 14, 2026 16:06
Copilot AI review requested due to automatic review settings May 14, 2026 16:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces the deprecated CommunityToolkit Go integration docs with first-class Aspire Go hosting documentation and updates navigation, redirects, and package-to-doc mappings accordingly.

Changes:

  • Adds new Go get-started and AppHost setup documentation under integrations/frameworks/go/.
  • Updates links and integration metadata from CommunityToolkit.Aspire.Hosting.Golang to Aspire.Hosting.Go.
  • Adds redirects and sidebar entries for the new Go docs structure.
Show a summary per file
File Description
src/frontend/src/content/docs/integrations/frameworks/go/go-get-started.mdx Adds the new Go integration landing page.
src/frontend/src/content/docs/integrations/frameworks/go/go-host.mdx Adds detailed AppHost setup guidance for Go apps.
src/frontend/src/content/docs/integrations/frameworks/go-apps.mdx Removes the old CommunityToolkit Go integration page.
src/frontend/config/sidebar/integrations.topics.ts Adds a nested Go section for the new docs.
src/frontend/config/redirects.mjs Redirects old Go docs paths to the new get-started page.
src/frontend/src/data/integration-docs.json Maps Go package names to the new docs URL.
src/frontend/src/data/aspire-integration-names.json Adds Aspire.Hosting.Go to integration names.
src/frontend/src/content/docs/languages-and-runtimes/index.mdx Moves Go into official language/runtime guides.
src/frontend/src/content/docs/get-started/app-host.mdx Updates English Go integration package/link references.
src/frontend/src/content/docs/ja/get-started/app-host.mdx Updates Japanese Go integration package/link references.
src/frontend/src/content/docs/community/thanks.mdx Updates the Go community docs link.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 11/11 changed files
  • Comments generated: 0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread src/frontend/src/data/integration-docs.json Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@davidfowl davidfowl enabled auto-merge (squash) May 14, 2026 20:27
@davidfowl davidfowl merged commit cc4742c into release/13.4 May 14, 2026
5 checks passed
@davidfowl davidfowl deleted the davidfowl/go-hosting-docs-13-4 branch May 14, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants